package WeekNight;

import java.util.Scanner;

public class fiveone {

	public static void main(String[] args) {
	   int[] arr = new int[5];
	   String str = null;
	   Scanner input = new Scanner(System.in);
	   while(true){
		   String choose = input.next();
		   try{
			   if(choose.equals("arr")){
				   int index = input.nextInt();
				   arr[index]=1;
			   }
			   else if(choose.equals("null")){
				   str.length();
				   
			   }else if(choose.equals("cast")){
				   Object o = new String("str");
				   Integer i = (Integer)o;
				   
			   }else if(choose.equals("num")){
				   String num = input.next();
				   Integer.parseInt(num);
			   }else{
				   break;
			   }
				
		   }catch(Exception e){
			   System.out.println(e);
		   }
	   }
	
	}

}
